﻿<!DOCTYPE html>
<html>
<head>
    <title>fyyORM-数据库配置</title>
    <link rel="shortcut icon" href="Image/logo.ico" />
    <link href="css/Style.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="js/queryhash.js"></script>
    <script type="text/javascript" src="js/op.js"></script>
    <script type="text/javascript">
        $(function () {
            view_cfgdb();
        });
    </script>
</head>
<body>
    <input type="button" class="ret-btn" value="返回" onclick="history.go(-1);" />
    <input type="button" class="hid-btn" />
    <input type="button" class="ok-btn" value="保存" onclick="add_cfgdb(this)" />
    <input type="button" class="hid-btn" />
    <div class="form-div form">
        <div class="form-div-row">
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1 red">&#12288</div>
            <div class="form-div-cell-2">数据源（IP/服务名/数据库路径）</div>
            <div class="form-div-cell-3">
                <input type="text" class="f-txtbox" placeholder="" id="txt_ip" />
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1">&#12288</div>
            <div class="form-div-cell-2">数据库类型</div>
            <div class="form-div-cell-3">
                <select id="ddl_dbtype">
                    <option value="mysql">mysql</option>
                    <option value="sqlite">sqlite</option>
                    <option value="sqlserver">sqlserver</option>
                    <option value="oracle">oracle</option>
                </select>
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1 red">&#12288</div>
            <div class="form-div-cell-2">数据库名称</div>
            <div class="form-div-cell-3">
                <input type="text" class="f-txtbox" placeholder="" id="txt_name" />
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1">&#12288</div>
            <div class="form-div-cell-2">用户名称</div>
            <div class="form-div-cell-3">
                <input type="text" class="f-txtbox" placeholder="" id="txt_username" />
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1">&#12288</div>
            <div class="form-div-cell-2">密码</div>
            <div class="form-div-cell-3">
                <input type="text" class="f-txtbox" placeholder="" id="txt_pwd" />
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1">&#12288</div>
            <div class="form-div-cell-2">设置为当前数据库</div>
            <div class="form-div-cell-3">
                <select id="ddl_iscurrent">
                    <option value="1">是</option>
                    <option value="0">否</option>
                </select>
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1">&#12288</div>
            <div class="form-div-cell-2">备注</div>
            <div class="form-div-cell-3">
                <input type="text" class="f-txtbox" placeholder="" id="txt_note" />
            </div>
            <div style="clear: both"></div>
        </div>
        <div style="clear: both"></div>
        <div class="form-div-row">
            <div class="form-div-cell-1 red">&#12288</div>
            <div class="form-div-cell-2">&#12288</div>
            <div class="form-div-cell-3">
                &#12288
            </div>
        </div>
    </div>
</body>
</html>